package xin.ryven.workflow.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import xin.ryven.workflow.model.ApprovalHistory;
import java.util.List;

public interface ApprovalHistoryRepository extends JpaRepository<ApprovalHistory, Long> {
    List<ApprovalHistory> findByProcessInstanceIdOrderByCreatedAtDesc(String processInstanceId);
} 